﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HidesaburoDotNET.Core.Detecctors
{
    class HaiteiDetector:YakuDetector
    {
        public override Yaku CheckYaku(AgariTehai agariTehai)
        {
            if (agariTehai.Player.CurrentField.Yama.HaiQueue.Count == 0) return new Yaku(1, "ハイテイ");
            return new Yaku();
        }
    }
}
